-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix(ui): make Z-Image model selects mutually exclusive #8717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ui): make Z-Image model selects mutually exclusive #8717
Conversation
VAE and Qwen3 Encoder selects are disabled when Qwen3 Source is selected, and vice versa. This prevents invalid model combinations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works as expected.
Change requested: When the user interface is reset and you select Z-Image-Turbo as the main model, the render button remains disabled until the user goes to Advanced and selects one of the Qwen3 Encoder options. This also happens when remixing a previous image. Can we default to a valid Qwen3 source? I was going to request this in a separate issue, but this seems like an appropriate PR for a fix.
The only other gotcha that I encountered was that when I switched from main to this PR and reloaded the browser page, I found the UI in a state in which all the Advanced menus were disabled and I was unable to reenable them by refreshing the page, recalling parameters, or switching main models. The problem was addressed by resetting the Web UI. I have tried to reproduce the problem, but haven't been able to do so, so probably ok to ignore.
When switching to a Z-Image model, automatically set valid defaults if no configuration exists: - Prefers Qwen3 Source (Diffusers model) if available - Falls back to Qwen3 Encoder + FLUX VAE combination This ensures the generate button is enabled immediately after selecting a Z-Image model, without requiring manual configuration.
|
Added the automatically select of Qwen3 Source (Diffusers model) if available and Falls back to Qwen3 Encoder + FLUX VAE combination |
Qwen3 Source (Diffusers Z-Image) model was not being saved to image metadata or restored during Remix. This adds: - Saving qwen3_source to metadata in buildZImageGraph - ZImageQwen3SourceModel metadata handler for parsing and recall - i18n translation for qwen3Source
…ithub.com/Pfannkuchensack/InvokeAI into fix/z-image-model-select-mutual-exclusion
|
Fixed the #8721 issue too |
lstein
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested working.
Summary
Makes the Z-Image model selection inputs mutually exclusive:
This prevents users from selecting invalid model combinations.
Additionally, when switching to a Z-Image model, valid defaults are automatically set if no configuration exists:
This ensures the generate button is enabled immediately after selecting a Z-Image model.
Related Issues / Discussions
QA Instructions
Merge Plan
Checklist
What's Newcopy (if doing a release after this PR)